package com.harry.resource.inner.properties;

import org.apache.commons.lang3.ArrayUtils;

import com.harry.basis.PropertySettings;
import com.harry.resource.inner.entity.InnerTimerJob;

public class Ps4InnerTimerJob extends PropertySettings<InnerTimerJob> {

	

	@Override
	public String[] nameProperties() {
		return new String[] { "name" };
	}

	@Override
	public String[] keyProperties() {
		return this.nameProperties();
	}

	@Override
	public String[] listProperties() {
		return ArrayUtils.toArray("name", "cron", "ifRunning", "lastSuccess", "lastBeginTime", "lastEndTime", "lastSpendSeconds");
	}

	@Override
	public String[] editProperties() {
		return ArrayUtils.toArray("name", "cron", "ifRunning");
	}

	@Override
	public String[] addProperties() {
		return null;
	}

	@Override
	public String[] criteriaProperties() {
		return ArrayUtils.toArray("ifRunning", "lastSuccess", "lastBeginTime", "lastEndTime");
	}

	@Override
	public String[] listLabels() {
		return null;
	}

	@Override
	public Integer[] listIndexes() {
		return null;
	}

	@Override
	public String[] editLabels() {
		return null;
	}

	@Override
	public Integer[] editIndexes() {
		return null;
	}

	@Override
	public String[] addLabels() {
		return null;
	}

	@Override
	public Integer[] addIndexes() {
		return null;
	}

	@Override
	public String[] criteriaLabels() {
		return null;
	}

	@Override
	public Integer[] criteriaIndexes() {
		return null;
	}
}
